/** ###################################################################
**     Filename  : PLL.C
**     Project   : PLL
**     Processor : 56F8013VFAE
**     Version   : Driver 01.14
**     Compiler  : Metrowerks DSP C Compiler
**     Date/Time : 2012-4-18, 10:29
**     Abstract  :
**         Main module.
**         This module contains user's application code.
**     Settings  :
**     Contents  :
**         No public methods
**
** ###################################################################*/
/* MODULE PLL */


/* Including needed modules to compile this module/procedure */
#include "Cpu.h"
#include "Events.h"
#include "Term1.h"
#include "Inhr1.h"
#include "PWMC1.h"
#include "EInt1.h"
/* Including shared modules, which are used for whole project */
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"

//#define Period 5
unsigned int count;
void main(void)
{

  /* Write your local variable definition here */

  /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
  PE_low_level_init();
  /*** End of Processor Expert internal initialization.                    ***/
  
  /* Write your code here */

//  PWMC1_SetDuty(0,5000);
//  PWMC1_Enable();
  PWMC1_SetRatio15(0,0);
  PWMC1_Load();
  for(;;) {
//        PWMC1_SetRatio15(0,0);
//        PWMC1_Load();
//        Cpu_Delay100US(10000);
/*        PWMC1_SetRatio15(0,16384);
        PWMC1_Load();      
        Cpu_Delay100US(50000); */
                   
        PWMC1_SetRatio15(0,16384);
        PWMC1_Load();
        
        Cpu_Delay100US(50000);  
        

      
        
}
}
/* END PLL */
/*
** ###################################################################
**
**     This file was created by Processor Expert 3.00 [04.35]
**     for the Freescale 56800 series of microcontrollers.
**
** ###################################################################
*/
